package com.chukun.disruptor.basic;

import com.lmax.disruptor.EventFactory;

/**
 * 创建 OrderEvent工厂，返回OrderEvent的实例
 */
public class OrderEventFactory implements EventFactory<OrderEvent> {

    @Override
    public OrderEvent newInstance() {
        OrderEvent orderEvent = new OrderEvent();
        return orderEvent;
    }
}
